package kr.pe.osdev.dao;

import java.util.List;

import kr.pe.osdev.domain.Question;
import kr.pe.osdev.domain.Sharer;

import org.springframework.dao.DataAccessException;

public interface SharerDao {
    public Sharer add(Sharer sharer) throws DataAccessException;
    public Sharer modify(Sharer sharer) throws DataAccessException;
    public Sharer remove(Sharer sharer) throws DataAccessException;
    public List<Sharer> findList() throws DataAccessException;
    public Sharer find(Sharer sharer) throws DataAccessException;
    public Sharer findByQuestion(Question question) throws DataAccessException;
    public int count() throws DataAccessException;
}